<?php ob_start() ?>
<div class="jumbotron">
    <div class="container">
        <div class="text-center" style="margin-bottom: 20px;">
            <h1><i class="fa fa-trophy"></i> <?php echo LABEL_MISREGALOS ?></h1>
        </div>
        <div class="row panel panel-body">
            <div class="col-lg-12 text-center bs-callout bs-callout-info">
                <div style="_margin-top:-15px; margin-left:20px; border-color:#f35958;">
                    <div class="row table-responsive">
                        <table class="table table-striped table-hover table-bordered tab-content tab-pane animated fadeIn">
                            <thead>
                                <tr>
                                    <th width="20%"><?php echo LABEL_MISREGALOSFECHA ?></th>
                                    <th><?php echo LABEL_MISREGALOSNOMBRE ?></th>
                                    <th width="25%"><?php echo LABEL_MISREGALOSESTADO ?></th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php if (count($params) > 0) { ?>
                                    <?php foreach ($params as $param) { ?>
                                        <tr>
                                            <td> <p style="font-size:14px; color:#999;"><?php echo date("d-m-Y H:i", strtotime($param['fecha'])); ?></p> </td>
                                            <td> <p style="font-size:14px; color:#333;"><b><?php echo $param['nombre'] ?></b></p></td>
                                            <td> <p style="font-size:14px;"><b><?php echo $param['estado'] ?></b></p></td>
                                        </tr>
                                    <?php } ?>
                                <?php } else { ?>
                                        <tr>
                                            <td valign="top" colspan="3"><?php echo LABEL_MISREGALOSNOHAY1?> <a href="competiciones"><b><?php echo LABEL_MISREGALOSNOHAY2 ?></b></a></td>
                                        </tr>
                                <?php } ?>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="clearfix"></div>
            </div><!-- /.col-lg-12 well-->
        </div><!-- /.row panel panel-body -->

    </div><!-- /.container -->
</div><!-- /.jumbotron -->

<?php
$contenido = ob_get_clean();
include 'app/templates/plantilla_privada.php';
?>